package com.guiji.text2video.fastvideo.service.Impl;

import com.guiji.text2video.fastvideo.domain.vo.Text2videoJob;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
/**
 * Copyright (C), 2018-2021
 * FileName: AsyncAlibabaTTSServiceImpl
 * Author:   scl
 * Date:     2021/7/20 11:05
 * Description: 阿里tts调用类
 */
@Service("asyncAlibabaTTSServiceImpl")
public class AsyncAlibabaTTSServiceImpl extends AsyncAbstractTTSService {
    private static final Logger logger = LoggerFactory.getLogger(AsyncAlibabaTTSServiceImpl.class);

    @Override
    @Async("asyncTTSServiceExecutor")
    public void executeTTSAsync(String text, Text2videoJob job ,String ttsUrl) {
        super.executeTTSAsync(text,job,ttsUrl);
    }

}